package org.csu.assemblyroom.service;

import org.csu.assemblyroom.common.CommonResponse;
import org.csu.assemblyroom.entity.User;

import java.util.List;

public interface UserService {
    CommonResponse<User> addUser(User user);
    CommonResponse<User> searchUser(String userid);
    CommonResponse<List<User>> searchAllUser();
    CommonResponse<User> deleteUser(String userid);
    CommonResponse<User> updateUser(User user);
}
